
public class Code012 {
	public static void main(String[] args) {
		int[] x = {34,2,45,6,87,3,-98,2,123};
		int i;
		double min = 0.0;
		for (i = 0; i < x.length; i++) {
			if(min>x[i]){
				min=x[i];
			}
				
		}
		System.out.println(min );
	}
}
